package com.ws.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
/**
 * 订单明细实体类
 */
public class Item {
    private Integer id;
    private Integer price;//商品价格
    private Integer amount;//商品数量
    private Integer order_id;//订单ID
    private Integer good_id;//商品id
    private Float total;//商品总额=购车记录的商品单价 * 购车记录的商品数量。
    private Goods good;
}
